package com.kevin.mediator;

/**
 * 具体同事类1
 *
 * @author kevin
 * @date 2025/8/22
 */
public class ConcreteColleague1 extends Colleague{

    @Override
    public void send() {
        System.out.println("具体同事类1发出请求");
        // 通过中介者转发
        mediator.relay(this);
    }

    @Override
    public void receive() {
        System.out.println("具体同事类1收到请求");
    }
}
